home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Precision Software Appli…tions Silver Collection 1
/
Precision Software Applications Silver Collection Volume One (PSM) (1993).iso
/
windows
/
games
/
iedit.exe
/
IEDIT.DOC
< prev
next >
Wrap
Text File
|
1990-10-10
|
16KB
|
312 lines
IEdit Shareware
Version 2.2
Welcome to IEdit, and I hope you'll register! This new version is a
major revision of IEdit, and I hope you enjoy it. New features include:
* New icon-based function selection
* Icon scrolling in any direction
* An "Undo" function
* A built in file length check guards against viruses
* A "Change a Color" function to alter a color over an entire icon
* "Quick Help" for functions with a single mouse click
The Enhanced version of IEdit has the following new features:
* A View function to preview your icon in a Windows-style dialog box
* Graphic Load function lets you pick your icon visually
* A "Best Guess" invert mask function
* Invert Mask editing
* "Rotate" turns your icon 90° clockwise
* A Grid for precise icons
* A shell to DOS for quick jumps to the DOS command line
* "Mirror" function makes symmetric icons easier
* A scroll "Chain" to link or unlink icon and invert mask scrolling
* Uses 80286 instructions for speed (8088 version available)
You will find IEdit's Help function contains much of the information below.
Introduction
IEdit is a full featured tool for creating and editing icons for the
Microsoft Windows environment. IEdit itself however, is a DOS application.
As many users know, IEdit is released in two versions, a Shareware version
(IEDIT.EXE), and an Enhanced version (IEDITE.EXE). IEdit was originally
created for my own use, but caught on with the rapid growth of Windows 3.0,
and now enjoys users from California to Austria! If you're curious about
the technical aspects of IEdit and icons, read the Technical Information
section at the end of this file.
System Requirements
* Dos 3.0 or greater
* A VGA system
* Approximately 150k disk space (depending on number of icons)
* At least 300k of free ram
* 300-500k free disk space for swapping if SHELL feature is used
* A Microsoft compatible mouse
* Windows 3.0 (of course) to use your icons.
* An 80286 based computer (AT or better).
NOTE: The shareware version of IEdit does NOT require an 80286.
Users who have a different system setup may be able to obtain a special
version of IEdit from me. Configurations include: An 8088 (XT class)
version, and a version that does not require DOS 3.0 or greater.
Creating Icons
───> Some of the functions in the following
instructions are not available in
the Shareware version of IEdit <───
(but this will give you an idea of what they do)
First, start IEdit by typing "IEDIT" at the DOS prompt, be sure that
you've loaded your mouse's driver program beforehand (Usually MOUSE.COM).
The left side of your screen will have the main icon editing box. The
icons you create are actually a square of dots 32 by 32. Each dot can be
one of 16 colors (including black). Icons also have another 32 by 32 square
of dots (at the right center of IEdit) called an "invert mask". You won't
need an invert mask for most icons so we'll cover them later.
Between the main icon area and the invert mask is a color bar
containing the 16 colors you can choose from. Select a color by moving the
mouse pointer over a color and clicking the left mouse button. Above the
icon area the upper "Current" color box will reflect your choice. You can
select a second color with the right button, it will appear in the lower
"Current" box. The idea here is pick a main (upper) color for drawing with
the left button, and a secondary (lower) color for drawing with the left
button. I like to choose my icon's background color for the lower color,
that way I can erase mistakes quickly.
You can now move the mouse pointer over to the main icon area and use
the either mouse button to draw a single dot. You can also hold the button
and move the mouse to draw continuously. In the upper left corner you'll
notice a tiny version of the main icon area, this is the actual size of the
icon you're drawing. You'll want to check this box to insure that your
icon isn't too detailed to be seen when it's finished. If you're trying to
be precise you'll find the coordinate display (also above the main icon
area) helpful, as well as the GRID function which puts a grid over the icon
area (using your current upper color).
When you start drawing, the main icon area is black, so you can erase
any mistakes by choosing the color "Black" from the color bar. Later
you'll see that you can start with any color you choose as the background,
and then you'll need to use that color to "erase" a mistake.
Once you've created a suitable icon, choose VIEW from the function
icons at the bottom. You'll see a small Windows-like box in the center of
the screen for a few seconds. This is the way your icon (including the
invert mask, if any) will look inside Windows.
Saving and Loading icons
You'll need to save your icon to a file in order to use it in Windows.
If you're editing a previous icon, just choose SAVE and IEdit will
replace the old icon file with the new one you're editing. If you choose
SAVE TO, or if you haven't previously saved the current one, you'll be
prompted for a file name. Type a name for your icon and press enter. IEdit
will give your file name the extention "icn". Don't choose a different
extention since IEdit's LOAD function won't be able to find it if you do.
When you want to edit an icon, choose LOAD from the function bar.
You'll be presented with a screen with all the icons in the current
directory. Just click on the icon you want to edit. You can choose
CANCEL to go back without loading an icon. You can also choose NEW DIR
and you'll be prompted for a new directory path. BE SURE and give the full
path (i.e. Drive etc.) such as "C:\Windows" or "C:\Icons". If you know the
name of the icon you want to edit, choose LOAD FROM, it will prompt you for a
specific file name to edit.
More editing functions
The "buttons" along the edges of the main icon area will scroll the
icon toward that edge, click on them to scroll your icon. Likewise, the
buttons below the invert mask are used to scroll it. The CHAIN function
allows you to link the two so that when you scroll either the icon or the
invert mask, both will scroll. Click on the CHAIN icon and you'll see a
tiny links appear on it, click again to unlink.
The INVERT function lets you invert the colors in your icon. The
invert function is easier to use than to explain. You can un-invert your
icon by simply selecting INVERT a second time.
The CLEAR function will clear both the icon and the invert mask,
and start over. IEdit won't let you lose your work by clearing or loading
without prompting you. You'll see the message "Abandon this icon ([Y]/N)",
you can press the right button for "Yes" or the left for "No", or press Y
or N. The CLEAR TO function is similar to the clear function except that it
clears the icon to the "Current" selected color (instead of black). The
MOUSE icon lets you increase or decrease the sensitivity of your mouse.
Click and hold on the right button to increase the sensitivity, or on the
left button to decrease it. You'll hear a rising or falling tone also.
You may need to experiment to find the proper setting.
The CHG A CLR ("Change a color") function is simple, first choose the
color in the icon that you wish to change. Second click on the CHG A CLR
icon, then click on your new color choice. The first color will be replaced
by the second throughout the icon.
The ROTATE function simply rotates your icon 90° clockwise.
The MIRROR function erases the right side of your icon and replaces it
with a mirror image of the left side. By using ROTATE and MIRROR you can make
icons that are symmetric horizontally, vertically or both.
The UNDO function returns your icon to its state before the last
function was executed (except LOAD). You cannot undo manual drawing you have
done. You can use UNDO again to go back to the state before the first UNDO.
About Invert Masks
Invert masks are a smaller version of an icon. They do not use
colors, each dot in an invert mask is either on (white) or off (black).
When Windows is DISPLAYING (not moving) an icon, it uses the dots as a mask
to determine where on the main icon to invert the colors. My experience
has been with VGA systems, other (particularly monochrome) systems may
behave differently. When an icon being MOVED, the invert mask is not used,
but this is where invert masks have an effect. Most often you'll want
to make the black portions of your icon inverted. This will make them the
same as the background color in Windows.
For example: Suppose you create two icons, both with red blocks at
the center. You make them nearly identical two different ways. You can
put a white background on one (example 1 below), and leave the other black,
but give it an invert mask around the block (example 2). This will invert the
black to white in Windows. So, you wind up with two icons that look
identical; until you move them. Then you'll see that the one without the
invert mask has a white area that runs over whatever you're moving over, in
contrast the invert mask icon won't. In addition, the inverted icon will
change its background to the same as Windows', while the uninverted one will
stay white. In some cases, the invert mask icon will invert the colors behind
it. I realize this is difficult, I suggest you make a few icons for yourself
and try them out. The red tracer will appear to guide you if you manually
edit an invert mask (it moves with you over the main icon). Be sure and try
the GUESS INV function first. Also be sure to use the VIEW function, it uses
the invert mask information in its display (The icon in the upper left corner
does not).
Example 1 ║ Example 2
║
┌─────────┐ ┌─────────┐ ║ ┌─────────┐ ┌─────────┐
│██White██│ │ │ ║ │ │ │██White██│
│█▒▒▒▒▒▒▒█│ │ │ ║ │ ▒▒▒▒▒▒▒ │ │█ █│
│█▒▒RED▒▒█│ │ │ ║ │ ▒▒RED▒▒ │ │█ █│
│█▒▒▒▒▒▒▒█│ │ │ ║ │ ▒▒▒▒▒▒▒ │ │█ █│
│█████████│ │ │ ║ │ │ │█████████│
└─────────┘ └─────────┘ ║ └─────────┘ └─────────┘
icon invert mask ║ icon invert mask
┌──┴─────────────┘ ║ └────────────┴──┐
│ ║ │
│ ║ │
│ ┌─────────┐ ║ ┌─────────┐ │
│ │██White██│ ║ │██White██│ │
│ │█▒▒▒▒▒▒▒█│ ║ │█▒▒▒▒▒▒▒█│ │
└─> │█▒▒RED▒▒█│ ║ │█▒▒RED▒▒█│ <─┘
│█▒▒▒▒▒▒▒█│ ║ │█▒▒▒▒▒▒▒█│
│█████████│ ║ │█████████│
└─────────┘ ║ └─────────┘
resulting ║ resulting
icon ║ icon
║
∙ Background always white ║ ∙ Background same as screen's
Pricing Information
Product Price + Shipping = Total
─────── ───── ──────── ─────
IEdit $8 $1 $9
Updates $4 $1 $5
Dollar amounts are U.S. funds. Checks or money orders only; not
responsible for cash lost in shipping. Add $2 to total for shipping to UK and
Europe. U.S. customers can avoid shipping charges by including a phone number
for modem transfer (and a best time to call).
Minor revision updates (e.g. from 2.0 to 2.2) are free by modem to
registered users. Registered users are notified when the next major version
is available. Most orders shipped within 48 hours. Checks are not cashed
until product is shipped. IEdit is guaranteed to perform reasonably, if you
have a problem that cannot be solved, return the shipped materials within 10
days for a full refund of purchase amount.
Using IExtract
(IExtract is included with the Enhanced version of IEdit)
You can use IExtract to "rip" the icon out of an application. The
result is an icon file that you can edit and use like any other. IExtract
works with most, but not every Windows application. The syntax is as
follows from the DOS command line:
IEXTRACT <Windows-application-filename> <Target-icon-filename>
You must specify both the source (application) and the target (.icn filename).
IExtract will create the icon file at the path specified or in the current
directory. Typing "IEXTRACT" by itself will also give the command syntax.
Remember that the resulting icon is still under the copyright of the software
company, and you may violate some software agreements by using IExtract.
Check with your software manufacturer for details.
Notes on recovering from errors and bugs
* It's possible that you have just enough free memory to load IEdit itself,
but not enough for one of IEdit's functions. IEdit traps for this, but I've
been unable to test it. In any case your current icon should be saved as
"IEDITERR.ICN".
* IEdit has had some (heap-related) memory problems, if you have trouble,
try freeing up some memory before running IEdit.
Technical and Miscellaneous Information
* IEdit itself was created with Microsoft's QuickPascal and now stands at
roughly 2300 lines of code. Despite the fact that IEdit had to overcome
at least three bugs in QP, I still can't recommend it more highly. The
editor is very similar to Notepad (and indeed all MS products) and the
Help is amazing (the manual rarely leaves the shelf).
* Why VGA only? Well not entirely due to a lack of EGA graphic
capabilities, but more due to a lack of similar TEXT modes between the
two. Keeping 640x480 and 640x350 straight is tricky enough without
dealing with text as well. Ignoring that, EGA simply looks bad with
25% less resolution. Also, most Windows users have a VGA anyway. The
same applies to mice and '286 specific code.
* Why is it so cheap? I'm a college student (Computer Information
Sciences major, wanna hire me next year?) and I've done more than my share
of "leeching" the Shareware market, so I priced IEdit so that I could have
afforded to register it. Also, I love to write software. But the best
result so far has been getting letters (and checks) from all over the
WORLD(!). I'd also like to thank people who called and wrote with comments
and suggestions, they are reflected in this version.
* What else have I written? Not much, IEdit is my first semi-serious
venture into Shareware, but I did write an autoexec.bat multi-utility
called Autoit. It let's you speed up the keyboard rate, turn off the Num
Lock, adjust the ram refresh rate, and check for a keystroke since boot-up
(to branch out of the autoexec), all in one 5k program.
* My address: James Bell 4511 Sherwood Trace Gainesville, Fl 32605.
or call me at (904) 372-3695.
* Windows and QuickPascal are TM's of Microsoft Corp.
* Many thanks to Tom Wagner and (of course) Dr. Dobbs for the swap-to-
disk ideas and examples.
What's next?
Version 3.x will have at least three new features, line, box and fill.
These are worked out now (in my head), but not yet implemented and tested.
I'd also like to speed up the entire workings some more and possibly convert
the entire 60k+ source to C code.
Thanks again, good luck, and happy Windows-ing!
James Bell 10/05/90